package com.fafu.common.web.mybatis;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 封装查询条件为区间的Bean，比如between
 *
 * @param <T>
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class RangeBean<T> {
    /**
     * 下限
     */
    private T start;
    /**
     * 上限
     */
    private T end;
}
